
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[ArchiveReportBaseObjectInsert]
    @ArchiveReportId INT ,
    @ReportBaseObjectId INT ,
    @Id INT OUTPUT
AS 
    BEGIN
        INSERT  INTO ArchiveReportBaseObject
                ( ArchiveReportId ,
                  ReportBaseObjectId
                )
        VALUES  ( @ArchiveReportId ,
                  @ReportBaseObjectId
                )
        
        SET @Id = SCOPE_IDENTITY()
    END
GO
